package com.xiaoq.social.service;

import com.xiaoq.social.entity.LikeitEntity;

public interface ILikeitService {
	
	public boolean isLikeit(String userId, String tgtId);
	
	public boolean addLikeit(LikeitEntity likeit);
	
	/**
	 * 取消点赞
	 * @param userId
	 * @param tgtId
	 * @return
	 */
	public boolean delLikeit(String userId,String tgtId);
	
	/**
	 * 获取点赞数量
	 * @param tgtId
	 * @return
	 */
	public Long getTgtNums(String tgtId);

}
